<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <base th:href="@{/}">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Root</title>
</head>
<body>
    <p>Employee1:</p>
    <div th:text="${emp1}"></div>
    <div th:text="${emp1.id}"></div>
    <div th:text="${emp1.name}"></div>
    <div th:text="${emp1.gender}"></div>
    <div th:text="${emp1.salary}"></div>
    <div th:text="${emp1.value}"></div>
    <hr>
    <p>Employee2:</p>
    <div th:text="${emp2}"></div>
    <div th:text="${emp2.computer.id}"></div>
    <div th:text="${emp2.computer.brand}"></div>
    <div th:text="${emp2.computer.price}"></div>
    <hr>
    <p>nameList:</p>
    <div th:text="${nameList}"></div>
    <div th:text="${nameList[0]}"></div>
    <div th:text="${nameList[1]}"></div>
    <hr>
    <p>employeeList:</p>
    <div th:text="${employeeList}"></div>
    <div th:text="${employeeList[0].id}"></div>
    <div th:text="${employeeList[0].name}"></div>
    <div th:text="${employeeList[0].gender}"></div>
    <div th:text="${employeeList[0].salary}"></div>
    <hr>
    <p>map:</p>
    <div th:text="${map}"></div>
    <div th:text="${map.emp1}"></div>
    <div th:text="${map.emp1.id}"></div>
    <div th:text="${map.emp1.name}"></div>
</body>
</html>